package com.iflytek.cosmo.ocr.model.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "T_VERSION_SETUP")
public class VersionSetupEntity {

    /**
     * 逻辑主键
     */
    @Column(name = "ID")
    @Id
    private String id;

    /**
     * 版本主键
     */
    @Column(name = "VERSION_ID")
    private String versionId;

    /**
     * 键
     */
    @Column(name = "`PROP_KEY`")
    private String key;
    /**
     * 值
     */
    @Column(name = "`PROP_VALUE`")
    private String value;

    /**
     * 1表示运行时配置，0表示更新配置
     */
    @Column(name = "TYPE")
    private Integer type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}